home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 3158 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: erich.triumf.ca!bennett
  2. From: bennett@erich.triumf.ca (P.Bennett)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Help!
  5. Date: 26 Jan 1996 07:57 PST
  6. Organization: TRIUMF: Tri-University Meson Facility
  7. Distribution: world
  8. Message-ID: <26JAN199607573638@erich.triumf.ca>
  9. References: <4ea5p4$j0s@ratree.psu.ac.th>
  10. NNTP-Posting-Host: erich.triumf.ca
  11. News-Software: VAX/VMS VNEWS 1.50    
  12.  
  13. In article <4ea5p4$j0s@ratree.psu.ac.th>, s3610165@maliwan.psu.ac.th (Sanon CHAOCHAIYAPORN) writes...
  14. >Dear all
  15. >    There is a file, hi.bat, in my 'h:\data' directory and I try to 
  16. >run it by C program but it fail. Please, advice to me?
  17.  
  18. >chdir("h:\data");
  19.  
  20. Remember that in C strings, '\' indicates the next char has special meaning, as 
  21. in '\n' == newline.  To acutally put a '\' in a string, you need to use two of
  22. them.  Change the above line to:
  23.     chdir("h:\\data");
  24.  
  25. Peter Bennett VE7CEI                | Vessels shall be deemed to be in sight
  26. Internet: bennett@triumf.ca         | of one another only when one can be
  27. Packet: ve7cei@ve7kit.#vanc.bc.ca   | observed visually from the other
  28. TRIUMF, Vancouver, B.C., Canada     |                          ColRegs 3(k)
  29. GPS and NMEA info and programs: ftp://sundae.triumf.ca/pub/peter/index.html
  30.  
  31.  
  32.  
  33.  
  34.